package com.wanmait.baohan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanmait.baohan.pojo.Dictionary;

import java.util.List;
import java.util.Map;

public interface DictionaryMapper extends BaseMapper<Dictionary> {
    int deleteByPrimaryKey(Integer id);

    int insert(Dictionary record);

    int insertSelective(Dictionary record);

    Dictionary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Dictionary record);

    int updateByPrimaryKey(Dictionary record);

    List<Dictionary> findAllInvoiceType();

    List<Dictionary> selectByType(Integer typeId);

    List<Map<String, String>> selectBookingHotelProjectType();

    List<Map<String, String>> selectBookingCarProjectType();

    List<Map<String, String>> selectBookingTicketProjectType();

    List<Map<String, String>> selectTransportType();

    List<Map<String, String>> selectAirplaneSeat();

    List<Map<String, String>> selectTrainSeat();

    List<Map<String, String>> selectHighSpeedSeat();

    List<Map<String, String>> selectBusSeat();
    //客户产品liu
    List<Map<String, Object>> selectProductTypeA();
    List<Map<String, Object>> selectProductTypeB();

    List<Map<String, Object>> selectProductTypeC();
    List<Map<String, Object>> selectProductTypeD();

    List<Map<String, Object>> selectProductTypeE();
    //业务联系人liu
    List<Map<String, Object>> selectBusinessContactsTypeA();
    List<Map<String, Object>> selectBusinessContactsTypeB();
    //企业需求
    List<Map<String, Object>> getDemandTypeA();
    List<Map<String, Object>> getDemandTypeB();
    List<Map<String, Object>> getDemandTypeC();
    List<Map<String, Object>> getDemandTypeD();
    List<Map<String, Object>> getDemandTypeE();


    List<Map<String, Object>> selectAllProducts();
    //委托代理人
    List<Map<String, Object>> getAgentType();
    //企业账号信息
    List<Map<String, Object>> getAcountTypeA();
    List<Map<String, Object>> getAcountTypeB();
    List<Map<String, Object>> getAcountTypeC();

}